package com.example.exercise.analysis.dataview.service.impl;

import com.example.exercise.analysis.dataview.mapper.AppRecordCountMapper;
import com.example.exercise.analysis.dataview.response.AppChannelCount;
import com.example.exercise.analysis.dataview.service.AppRecordCountService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppRecordCountServiceImpl implements AppRecordCountService {

    @Resource
    private AppRecordCountMapper viewMapper;

    @Override
    public List<AppChannelCount> getActiveCount(String[] appVersions) {
        return viewMapper.getActiveCount(appVersions);
    }

}
